# -*-coding:utf-8 -*-
# File  : cashRulesList_api.py
# Time  ：2021/11/29 16:53
# Author：author name

from api.manage.manage_base import ManageBase


class CashRuleListApi(ManageBase):
    def __init__(self, rule_name, status, page_num, start_date, end_date):
        super().__init__()
        self.url = self.host + "cloudlottery-manage/carshrules/list"
        self.json = {"pageNum": page_num, "pageSize": 10, "key": rule_name, "status": status, "startDate": start_date,
                     "endDate": end_date, "operatorId": ""}
        self.method = "post"
